<?php
namespace Admin\Controller;


class ArticleController extends CommonController
{
    private $article;

    public function __construct()
    {
        parent:: __construct();
        $this->article = M('article');
    }

    public function index()
    {
        $articles = $this->article->select();
        $this->assign('article',$articles);
        $this->display();
    }



}